package com.tool.spring.client;


import com.tool.spring.manager.UserManager;
import com.tool.spring.manager.UserManagerImpl;
import com.tool.spring.manager.UserManagerImplProxy;

/**
 * @Author: lixiaofei
 */
public class Client {


	public static void main(String[] args) {
		UserManager userManager = new UserManagerImpl();
		userManager.addUser("张三", "123");
		//使用代理（实现原有对象的方法）对原有对象进行代理，不需要修改原有对象逻辑
//		UserManager  userManagerProxy = new UserManagerImplProxy(userManager);
	}

}
